int spawn(string cmd); or int spawn(string cmd, object stdin); or int spawn(string cmd, object stdin, object stdout); or int spawn(string cmd, object stdin, object stdout, object stderr);